package com.lapian.designmode.flyweight.test.test_f;

/**
 * 创建日期：2022/5/24 0024 15:34
 *
 * @author tony.sun
 * 类说明：執行類
 */
public class ClientF {
    public static void main(String[] args) {
        Factory factory=new Factory();
        Father father = factory.getRoleCategory("敏攻系");
        Father father2 = factory.getRoleCategory("控制系");
        father.user(new User("小舞"));
        father.user(new User("朱竹清"));
        father2.user(new User("唐三"));
        factory.list();
    }
}
